home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13989 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  817 b 

  1. Path: ix.netcom.com!news
  2. From: Henry Cross <hcross@ix.netcom.com>
  3. Newsgroups: comp.lang.c
  4. Subject: setvbuff() and MSDOS
  5. Date: Wed, 10 Apr 1996 19:39:43 -0700
  6. Organization: linuX.i586 @Irvine, Ca.
  7. Message-ID: <316C70EF.21179BA@ix.netcom.com>
  8. NNTP-Posting-Host: irv-ca5-05.ix.netcom.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-NETCOM-Date: Wed Apr 10  9:38:18 PM CDT 1996
  13. X-Mailer: Mozilla 2.0 (X11; I; Linux 1.2.13 i586)
  14.  
  15. Hi,
  16.   I'm programming in the 16-bit MSDOS enviroment and am wondering
  17.  if anyone knows why setvbuf() would slow down a program reading
  18.  data from a floppy.  I get a read time of 48 seconds without
  19.  setvbuf() and over 5 minutes with it! (I've tried 8192, 16384 & 32767)
  20.  I'm using MSVC 1.5
  21.  
  22.  Any ideas?
  23.  
  24.  TIA,
  25.  H.Cross
  26.  hcross@ix.netcom.com
  27.